package com.zking.ssm.model;

public class Teacher {
    private Integer tid;

    private String tname;

    private String tjob;

    private Integer tsal;

    public Teacher(Integer tid, String tname, String tjob, Integer tsal) {
        this.tid = tid;
        this.tname = tname;
        this.tjob = tjob;
        this.tsal = tsal;
    }

    public Teacher() {
        super();
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTjob() {
        return tjob;
    }

    public void setTjob(String tjob) {
        this.tjob = tjob;
    }

    public Integer getTsal() {
        return tsal;
    }

    public void setTsal(Integer tsal) {
        this.tsal = tsal;
    }
}